package com.jingdianjichi.subject.application.convert;

import com.jingdianjichi.subject.application.dto.SubjectPageDTO;
import com.jingdianjichi.subject.domain.entity.SubjectInfoBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface SubjectPageTOInfoConverter {
    SubjectPageTOInfoConverter INSTANCE = Mappers.getMapper(SubjectPageTOInfoConverter.class);

    SubjectInfoBO convertPageToInfo(SubjectPageDTO subjectPageDTO);
}
